package com.microservice.salmon.weixin.domain;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * 微信消息父类
 */
@Getter
@Setter
public class BaseMessage {
	//接收方微信号
	@JacksonXmlProperty(localName = "ToUserName")
	private String toUserName;
	//发送方微信号
	@JacksonXmlProperty(localName = "FromUserName")
	private String fromUserName;
	//创建时间
	@JacksonXmlProperty(localName = "CreateTime")
	private long createTime;
	//消息类型  news 表示图文消息
	@JacksonXmlProperty(localName = "MsgType")
	private String msgType;
}
